var ModuleName = require('./person');
class Student extends ModuleName.Person{
    constructor(id , name , age , klassObj){
        super(id , name , age);
        this.klassObj = klassObj;
    }
    introduce(){
        var ifLeader = (this.klassObj.leader === this) ? ' I am Leader of Class ' + this.klassObj.number + '.' : ' I am at Class ' + this.klassObj.number + '.';
        var string = super.introduce() + ' I am a Student.' + ifLeader;
        return string;
    }
}

module.exports.Student = Student;